<template>
  <normal-layout>
    <sell-table :sellingList="sellingList"></sell-table>
  </normal-layout>
</template>

<script>
  import NormalLayout from "../../layouts/NormalLayout";
    export default {
        name: "index",
      components:{NormalLayout},
      data(){
          return{
            sellingList:[],
          }
      },
      mounted() {
        this.getData();
      },
      methods:{
        getData(){
          this.$axios.get('/get_turnover').then((res)=>{
            this.sellingList=res.data;
            console.log(this.sellingList);
          });
        }
      }
    }
</script>

<style scoped>

</style>
